<!--
 * @Description: 路由视图
 * @Version: 2.0
 * @Autor: lhl
 * @Date: 2021-06-19 19:06:18
 * @LastEditors: lhl
 * @LastEditTime: 2021-06-19 19:11:16
-->

<template>
  <router-view v-slot="{ Component }" :key="$route.fullPath">
    <transition name="fade-transform" mode="out-in">
      <keep-alive>
        <component :is="Component" />
      </keep-alive>
    </transition>
  </router-view>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({})
</script>
